package com.github.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.annotation.Resource;

/**
 * @author fatfish
 * @version 1.0
 * @date 2025/8/14 14:15
 */
@Data
public class People {
    @Autowired
    @Qualifier("cat")
    private Cat cat;
    @Resource
    private Dog dog;
    @Autowired(required = false)
    private String name;
}
